package com.qf.service.Impl;


import com.qf.dao.Impl.OrganDaoImpl;
import com.qf.dao.OrganDao;
import com.qf.entity.Organ;
import com.qf.service.OrganService;
import com.qf.util.DruidUtil;

import java.util.List;


public class OrganServiceImpl implements OrganService {
    private OrganDao organDao = new OrganDaoImpl();

    @Override
    public List<Organ> selectAllOrgan() {
        List<Organ> organList = null;
        organList = organDao.selectOrgan();
        DruidUtil.close();
        return organList;
    }
}
